from django.db import models

# Create your models here.
class BlogArticle(models.Model):
    title = models.CharField(max_length= 50)
    author = models.CharField(max_length= 20)
    time = models.IntegerField(default = 0)


class User(models.Model):
    name = models.CharField(max_length=150)
    password = models.CharField(max_length=150)
    timestamp = models.DateTimeField()